<?php
require_once 'includes/funciones.php';
conexion();

$var=sqlint($_GET['var']);
$result=mysql_query("select a.id, a.nombre from samptyt.area as a WHERE a.`org-id` =$var and a.id>0");
echo '<option value="">Seleccione Area </option>';
while($rowconcla=mysql_fetch_array($result))
                    {
                       echo '<option value="'.$rowconcla['id'].'">'.$rowconcla['nombre'].' </option>';
				
                    }
?>